/**
 * udes.ds.rmi
 * UnknownEquationTypeException.java
 * 3 sept. 08
 */
package udes.ds.rmi.hw;

import java.rmi.RemoteException;

/**
 * Exception thrown when the Derivation Server doesn't recognize an equation
 * 
 * @author      Luc Bergevin
 * @version     1.0         
 */
public class UnknownEquationTypeException extends RemoteException {
	
	private static final long serialVersionUID = 1L;
	private Equation _unknownEquation;

	public UnknownEquationTypeException(Equation unknownEquation) {
		super();
		_unknownEquation = unknownEquation;
	}

	public UnknownEquationTypeException(String message) {
		super(message);
	}

	public Equation getUnknownEquation() {
		return _unknownEquation;
	}
	
}
